﻿#region Copyright information
// 
// Copyright © 2005-2013 Yongkee Cho. All rights reserved.
// 
// This code is a part of the Biological Object Library and governed under the terms of the
// GNU Lesser General  Public License (LGPL) version 2.1 which accompanies this distribution.
// For more information on the LGPL, please visit http://bol.codeplex.com/license.
// 
// - Filename: PseudoGeneType.cs
// - Author: Yongkee Cho
// - Email: yongkeecho@gmail.com
// - Date Created: 2013-01-25 3:25 PM
// - Last Modified: 2013-01-25 3:59 PM
// 
#endregion
using System.Runtime.Serialization;

namespace BOL.Models.Features
{
    /// <summary>
    /// Specifies type of pseudo gene.
    /// </summary>
    /// <see cref="http://www.ddbj.nig.ac.jp/FT/full_index.html"/>
    [DataContract]
    public enum PseudoGeneType
    {
        /// <summary>The pseudogene has arisen by reverse transcription of a mRNA into cDNA, followed by reintegration into the genome. Therefore, it has lost any intron/exon structure, and it might have a pseudo-polyA-tail.</summary>
        [EnumMember]
        Processed,

        /// <summary>The pseudogene has arisen from a copy of the parent gene by duplication followed by accumulation of random mutation. The changes, compared to their functional homolog, include insertions, deletions, premature stop codons, frameshifts and a higher proportion of non-synonymous versus synonymous substitutions.</summary>
        [EnumMember]
        Unprocessed,

        /// <summary>The pseudogene has no parent. It is the original gene, which is functional is some species but disrupted in some way (indels, mutation, recombination) in another species or strain.</summary>
        [EnumMember]
        Unitary,

        /// <summary>A (unitary) pseudogene that is stable in the population but importantly it has a functional alternative allele also in the population. i.e., one strain may have the gene, another strain may have the pseudogene. MHC haplotypes have allelic pseudogenes</summary>
        [EnumMember]
        Allelic,

        /// <summary>The submitter does not know the method of pseudogenisation.</summary>
        [EnumMember]
        Unknown
    }
}
